package com.one.blocks.mvc.manager;

import com.one.blocks.mvc.domain.Id;
import com.one.blocks.mvc.excel.ExcelManager;
import com.one.blocks.mvc.mapper.BaseMapper;

import java.io.Serializable;

/**
 * @author <a href="mailto:idler41@163.con">linfuxin</a> created on 2024-01-11 16:01:33
 */
public abstract class AbstractBatchExcelManager<Mapper extends BaseMapper<T>, T extends Id<? extends Serializable>>
        extends AbstractBatchManager<Mapper, T> implements ExcelManager<T> {

    public AbstractBatchExcelManager(Mapper mapper) {
        super(mapper);
    }

    @Override
    public T selectOneByExcelParam(T param) {
        return findOne(param);
    }
}
